package com.shzu.jwc.ty.dao;

import com.shzu.jwc.ty.bean.TheoreticalPaperModel;
import com.shzu.jwc.ty.bean.TheoreticalPaperModelExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TheoreticalPaperModelMapper {
    long countByExample(TheoreticalPaperModelExample example);

    int deleteByExample(TheoreticalPaperModelExample example);

    int deleteByPrimaryKey(Integer theoreticalPaperModelId);

    int insert(TheoreticalPaperModel record);

    int insertSelective(TheoreticalPaperModel record);

    List<TheoreticalPaperModel> selectByExample(TheoreticalPaperModelExample example);

    TheoreticalPaperModel selectByPrimaryKey(Integer theoreticalPaperModelId);

    int updateByExampleSelective(@Param("record") TheoreticalPaperModel record, @Param("example") TheoreticalPaperModelExample example);

    int updateByExample(@Param("record") TheoreticalPaperModel record, @Param("example") TheoreticalPaperModelExample example);

    int updateByPrimaryKeySelective(TheoreticalPaperModel record);

    int updateByPrimaryKey(TheoreticalPaperModel record);
}